<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <?php echo $this->headTitle() ?>
        <?php echo $this->headMeta() ?>
        <?php echo $this->headLink() ?>
    </head>
    <body>
        <div id="panel">
            <div id="navi">
                <a href="<?php echo $this->url(
                                        array(
                                            'module' => 'rockitbos'),
                                        NULL,
                                        TRUE)?>">
                    <img src="/dashboard/images/navilogo.png" title="Zum Dashboard" />
                </a>
                <ul>
                    <li><a href="#">Info</a></li>
                </ul>
            </div>
            <div id="actions">
                <ul>
                    <li>
                        <a href="<?php echo $this->url(
                                                array(
                                                    'module' => 'rockitbos',
                                                    'set' => 'logout'),
                                                NULL,
                                                TRUE)?>">
                            abmelden
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="content">
            <div id="center">
            <?php if ($this->apps) : ?>
            <?php foreach ($this->apps as $app => $data) : ?>
                <a href="<?php echo $this->url(
                                        array(
                                            'module' => 'rockitbos',
                                            'app' => $app),
                                        NULL,
                                        TRUE)?>">
                    <img src="/<?php echo $app?>/images/app.png"
                         title="<?php echo $data['name']?>"/>
                    <p>
                        <?php echo $data['name']?>
                    </p>
                </a>
            <?php endforeach;?>
            <?php endif;?>
            </div>
        </div>
        <div id="favorite">
        <?php if ($this->favorites) : ?>
        <?php foreach ($this->favorites as $app => $data) : ?>
            <a href="<?php echo $this->url(
                                    array(
                                        'module' => 'rockitbos',
                                        'app' => $app),
                                        NULL,
                                        TRUE)?>"
               class="app">
                <img src="/<?php echo $app?>/images/app.png"
                     title="<?php echo $data['name']?>"/>
            </a>
        <?php endforeach;?>
        <?php endif;?>
        </div>
    </body>
</html>